package com.example.leetcode.bit;

import com.example.leetcode.bit.common.BitUtils;

class Solution6369 {
    public long maximumOr(int[] nums, int k) {
        return BitUtils.maximumOr(nums, k);
    }
}

public class leetcode6369 {
    public static void main(String[] args) {
        Solution6369 solution6369 = new Solution6369();
        int[] nums = {12, 9};
        int[] nums1 = {8, 1, 2};
        System.out.println(solution6369.maximumOr(nums, 1));
        System.out.println(solution6369.maximumOr(nums1, 2));
    }
}
